package pw.archipelag.loaderGame.interfaceGame.skinsPanel {
	import flash.geom.Point;
	import com.greensock.easing.*;
	
	public class SkinBtnPanel extends Object {
		
		public var skinBg: SkinBg;
		public var skinTfLabel: SkinTf;
		public var pointMarginTf: Point;
		public var pointMarginTfWithoutChangeBg: Point;
		public var objTweenOut: Object;
		public var objTweenOver: Object;
		
		public function SkinBtnPanel(skinBg: SkinBg = null, skinTfLabel: SkinTf = null, pointMarginTf: Point = null, pointMarginTfWithoutChangeBg: Point = null, objTweenOut: Object = null, objTweenOver: Object = null): void {
			this.skinBg = skinBg || new SkinBg();
			this.skinTfLabel = skinTfLabel || new SkinTf();
			this.pointMarginTf = this.skinBg.shape ? (pointMarginTf || new Point(8, 4)) : new Point(30, 10);
			this.pointMarginTfWithoutChangeBg = this.skinBg.shape ? (pointMarginTfWithoutChangeBg || new Point(0, 0)) : new Point(-4, -6);
			this.objTweenOut = this.skinBg.shape ? ((objTweenOut) ? objTweenOut : {time: 5, blurFilter:{blurX:0, blurY:0}, useFrames: true, ease: Linear.easeNone}) : {time: 5, dropShadowFilter: {color:0x000000, alpha:1, strength:1, distance:5}, useFrames: true, ease: Quad.easeOut};
			this.objTweenOver = this.skinBg.shape ? ((objTweenOver) ? objTweenOver : {time: 5, blurFilter: { blurX:10, blurY:2 }, useFrames: true, ease: Linear.easeNone } ) : { time: 5, dropShadowFilter: { color:0x000000, alpha:1, strength:0, distance:5 }, useFrames: true, ease: Quad.easeOut };
		}
		
	}
	
}